array: Add a bunch of new features
authorBenjamin Otte <otte@redhat.com>
Thu, 16 Jul 2020 14:33:14 +0000 (16:33 +0200)
committerBenjamin Otte <otte@redhat.com>
Thu, 16 Jul 2020 16:09:58 +0000 (18:09 +0200)
commit90b7b843373fb8d85647666142ee0aaeb4fee128
treef1285485526b919a9bb83fad8ec56a905cbfdb09
parent088b5fc57f51c9d120df6d8e0c429e88b1784fa0
array: Add a bunch of new features

* GDK_ARRAY_BY_VALUE
  #define this to get GArray-like behavior
* gdk_array_splice (v, 0, 0, NULL, 25)
  Adding items but passing NULL as the items will zero() them.
* gdk_array_set_size()
  A nicer way to call gdk_array_splice()
* constify getters
gdk/gdkarrayimpl.c